package com.blyat.xsoft.admin.restful.service;

import com.blyat.xsoft.admin.restful.entity.Authority;
import com.blyat.xsoft.kernel.restful.service.BaseService;

import java.util.List;

/**
 * @author syh
 * @date 2019/10/21
 **/
public interface AuthorityService extends BaseService<Authority> {

    /**
     * 构建后台菜单树
     *
     * @param query
     * @return
     */
    List<Authority> getAuthorityTree(String query);
}
